from typing import List

from pydantic import BaseModel, Field


class Red_book_entity(BaseModel):
    title: List[str] = Field(description="这是标题列表", max_items=5)
    content: str = Field(description="这是正文字符串")
